Skip to content

Replace Forms API with plain SWT in workspace dialogs#3881

Open
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:replace-forms-api-workspace-dialogs
Open

Replace Forms API with plain SWT in workspace dialogs#3881
vogella wants to merge 1 commit intoeclipse-platform:masterfrom
vogella:replace-forms-api-workspace-dialogs

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented Apr 10, 2026

Remove dependency on FormToolkit, ExpandableComposite, and ScrolledForm in ChooseWorkspaceDialog and ChooseWorkspaceWithSettingsDialog. Replace with plain SWT composites and Labels with Unicode triangle characters (▸/▾) for the expand/collapse toggle.

Benefits:

  • Improves dialog startup performance by eliminating Forms overhead (extra decorated composites, global paint/focus listeners, color management, recursive ScrolledForm reflow)
  • Unicode triangles (Geometric Shapes block, Unicode 1.0) render reliably on Windows, macOS, and Linux
  • Also fixes layout data mismatch where the path Combo used GridData inside a BorderLayout container (now uses BorderData)

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Apr 10, 2026

Note to myself: Need to build aggregator with this change to see recent workspace in action, configuration scope is not shared in runtime Eclipse.

@merks
Copy link
Copy Markdown
Contributor

merks commented Apr 10, 2026

Note that notes to yourself along with drafts generate emails for everyone. Please consider completing work before publicizing it as a draft.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented Apr 10, 2026

Note that notes to yourself along with drafts generate emails for everyone. Please consider completing work before publicizing it as a draft.

Sure, I will try to handle more developments via branches on my forks.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 10, 2026

Test Results

   852 files  ±0     852 suites  ±0   57m 16s ⏱️ + 4m 2s
 7 894 tests ±0   7 651 ✅ ±0  243 💤 ±0  0 ❌ ±0 
20 184 runs  ±0  19 529 ✅ ±0  655 💤 ±0  0 ❌ ±0 

Results for commit d1047a8. ± Comparison against base commit 94eabfd.

♻️ This comment has been updated with latest results.

@vogella vogella force-pushed the replace-forms-api-workspace-dialogs branch 2 times, most recently from 4394174 to 31e3529 Compare April 13, 2026 15:01
Remove dependency on FormToolkit, ExpandableComposite, and ScrolledForm
in ChooseWorkspaceDialog and ChooseWorkspaceWithSettingsDialog. Replace
with plain SWT composites and Labels with Unicode triangle characters
(U+25B8 ▸ / U+25BE ▾) for the expand/collapse toggle.

This improves dialog startup performance by eliminating the Forms
overhead: extra decorated composites, global paint/focus listeners,
color management, and recursive ScrolledForm reflow on each toggle.

The Unicode triangles are from the Geometric Shapes block (Unicode 1.0)
and render reliably on Windows, macOS, and Linux system fonts.

Also fix layout data mismatch where the path Combo used GridData inside
a BorderLayout container (now uses BorderData).
@vogella vogella force-pushed the replace-forms-api-workspace-dialogs branch from 31e3529 to d1047a8 Compare April 15, 2026 15:04
@vogella vogella marked this pull request as ready for review April 15, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants